package org.dromara.nursing.domain.bo;

import org.dromara.nursing.domain.RoomInfo;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 房间管理业务对象 ms_room_info
 *
 * @author Xue
 * @date 2025-04-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = RoomInfo.class, reverseConvertGenerate = false)
public class RoomInfoBo extends BaseEntity {

    /**
     * id
     */
    @NotNull(message = "id不能为空", groups = { EditGroup.class })
    private Long roomId;

    /**
     * 房间号
     */
    @NotBlank(message = "房间号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String roomNumber;

    /**
     * 房间类型
     */
    @NotBlank(message = "房间类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String roomType;

    /**
     * 楼栋
     */
    private String building;

    /**
     * 楼层
     */
    private String floor;

    /**
     * 全部床位数
     */
    private Long bedCount;

    /**
     * 可用床位数
     */
    private Long availableBeds;

    /**
     * 价格
     */
    private Long pricePerDay;

    /**
     * 设施描述
     */
    private String facilities;

    /**
     * 房间状态
     */
    @NotBlank(message = "房间状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private String roomStatus;

    /**
     * 备注
     */
    private String remarks;


}
